package com.itheima.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;

import java.io.Serializable;

//用于查看自己发布的漂流瓶
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MyVoice implements Serializable {

    private ObjectId id; //主键id
    private ObjectId publishId; //发布id
    private Long created; //发布时间
    private Integer state = 0;//0表示未被拾取,1表示已被拾取,默认为0;

}
